package com.example.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.controller.vo.EvaluationsVo;
import com.example.entity.Evaluations;

import java.util.List;

/**
 * <p>
 * 评论表 服务类
 * </p>
 *
 * @author yzy
 * @since 2025-08-04
 */
public interface IEvaluationsService extends IService<Evaluations> {

    Page<Evaluations> selectList(Page<Evaluations> page, QueryWrapper<Evaluations> queryWrapper);

    List<EvaluationsVo> listTree(Integer productId);

    IPage<EvaluationsVo> selectEvalVoPage(Integer pageNum, Integer pageSize, String productName, String userName);
}
